DELETE
FROM c1_user_role
WHERE FLAG_CODE = :flagCode AND FLAG_OBJECT_CODE <> :flagObjectCode